<!DOCTYPE html>
<html>
<head>
    <title>Flask Blog</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.css') }}"/>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/custom.css') }}"/>
    <script type="text/javascript" src="{{ url_for('static', filename='tinymce/tinymce.min.js') }}"></script>
    <script type="text/javascript">
    tinymce.init({
                selector: "textarea"
                });
    </script>
</head>
<body>
<div class="container">
      <div class="page-header">
        <h1>Flask Blog</h1>
      </div>
 <header>
     <div class="navbar">
  <div class="navbar-inner">

    <ul class="nav">
      <li><a href="{{ url_for('article.index') }}">Home</a></li>
          {% if 'email' in session %}

          <li><a class='active' href="{{ url_for('article.profile') }}">Profile</a></li>
          <li><a href="{{ url_for('person.signout') }}">Sign Out</a></li>
          {% else %}
          <li><a href="{{ url_for('person.signup') }}">Sign Up</a></li>
          <li><a href="{{ url_for('person.signin') }}">Sign In</a></li>
          {% endif %}
     </ul>
  </div>
</div>

  </header>
    {% block content %}

    {% endblock %}

    <div class="modal-footer">
        <h4>&copy; douglarek</h4>
    </div>
</div>
</body>
</html>
